package com.qr.bean.wmyw;

import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:25:53
 */
@ApiModel(value = "qr_shop_user", description = "商户/门店用户")
@TableName(value = "qr_shop_user")
public class QrShopUser implements Serializable {
	@ApiModelProperty(value = "标识id")
	@TableId(type = IdType.AUTO,value = "shop_user_id")
	@NotNull(message = "标识id不能为空")
	private Integer shop_user_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "类型:商户=1 门店=2")
	@TableField(value="shop_type")
	@NotNull(message = "类型不能为空")
	private Integer shop_type;
	@ApiModelProperty(value = "姓名")
	@TableField(value="user_name")
	private String user_name;
	@ApiModelProperty(value = "账号名称")
	@TableField(value="user_account")
	private String user_account;
	@ApiModelProperty(value = "手机号")
	@TableField(value="user_mobile")
	private String user_mobile;
	@ApiModelProperty(value = "登录密码")
	@TableField(value="passwd")
	private String passwd;
	@ApiModelProperty(value = "创建时间")
	@TableField(value="create_time")
	private Timestamp create_time;
	@ApiModelProperty(value = "角色类型")
	@TableField(value="role_id")
	private Integer role_id;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getShop_user_id() {
		return shop_user_id;
	}
	public void setShop_user_id(Integer shop_user_id) {
		this.shop_user_id = shop_user_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public Integer getShop_type() {
		return shop_type;
	}
	public void setShop_type(Integer shop_type) {
		this.shop_type = shop_type;
	}
 
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
 
	public String getUser_account() {
		return user_account;
	}
	public void setUser_account(String user_account) {
		this.user_account = user_account;
	}
 
	public String getUser_mobile() {
		return user_mobile;
	}
	public void setUser_mobile(String user_mobile) {
		this.user_mobile = user_mobile;
	}
 
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
 
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
 
	public Integer getRole_id() {
		return role_id;
	}
	public void setRole_id(Integer role_id) {
		this.role_id = role_id;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}